package com.ruiben.mall.mapper;

import com.ruiben.mall.pojo.UserCart;
import com.ruiben.mall.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCartMapper extends MyMapper<UserCart> {
    List<UserCart> getCartList(String userId);

    UserCart getCartInfo(String cartId);

    int batchDeleteCart(@Param("ids") List<String> ids);
}